package edu.mymvc.config;

import org.springframework.context.annotation.ComponentScan;
import org.springframework.context.annotation.Configuration;
import org.springframework.web.servlet.config.annotation.EnableWebMvc;
//包括json字符串和java对象之间的转换
@EnableWebMvc
@Configuration
//只扫描controller，因为spring-mvc是处理controller的框架
@ComponentScan("edu.mymvc.controller")
public class SpringMVCConfig {

}
